Optionally sets hash function for your class which gets used by the Python hash() operator.
SetHashFunction(Signature of the the callback function must be like:
SomeName(pySelf as Ptr) as Int64
Where SomeName can be anything you want.
See example use in the example project called: “Xojo creating new Python class (Advanced)”.